package com.onehouse.domain.payment.model.entity;

import com.onehouse.domain.payment.model.valobj.PaymentMethod;
import com.onehouse.domain.payment.model.valobj.PaymentStatus;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Payment {

    private String paymentId;
    private String orderId;
    private BigDecimal amount;
    private PaymentMethod paymentMethod;
    private PaymentStatus status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String remark;

}
